import pytest, time
from selenium.webdriver.common.by import By


class AdminBusinessPartnerLocator:
    """
      admin portal 页面
     """
    # admin portal 页面
    admin_portal_page = (By.CSS_SELECTOR, '[id="root"]')
    # 初始页面展开的tab
    default_page_expanded = (By.CSS_SELECTOR, '[aria-expanded="true"]')

    # Business Partner_tab
    business_partner_tab = (By.XPATH, "//div[contains(@data-menu-id,'MANAGEMENT_PLT_BUSINESS_PARTNER')]")

    # admin portal 页面左侧栏的Business Partner下的Organization按钮
    business_partner_organization_title = (By.CSS_SELECTOR,'[path="/console/organization/businessPartner"]')
    # admin portal 页面左侧栏的Business Partner下的User按钮
    business_partner_user_title = (By.CSS_SELECTOR,'[path="/console/user/businessPartner"]')
    # admin portal 页面左侧栏的Business Partner下的Role按钮
    business_partner_role_title = (By.CSS_SELECTOR, '[path="/console/role/businessPartner"]')
    # admin portal 页面左侧栏的Business Partner下的User Group按钮
    business_partner_user_group_title = (By.CSS_SELECTOR, '[path="/console/userGroup/businessPartner"]')
    # admin portal的Business Partner下的Organization页面
    business_partner_organization_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')
    # admin portal的Business Partner下的User 页面
    business_partner_user_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')
    # admin portal的Business Partner下的Role页面
    business_partner_role_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')
    # admin portal的Business Partner下的User Group页面
    business_partner_user_group_page = (By.XPATH, '(//div[@class="cre-page-container-header-panel-left"])/span')

    # Immediate Member页面tab标题
    organization_immediate_member_tab = (By.CSS_SELECTOR, '[id = "rc-tabs-2-tab-immediateMember"]')
    # Invited Customer 页面tab标题
    organization_invited_customer_tab = (By.XPATH, '//*[@class="cre-page-container-spin"]/div/div/div[2]//div[2]/div/span')
    # Operation History页面tab标题
    organization_operation_history_tab = (By.CSS_SELECTOR, '//*[@class="cre-page-container-spin"]/div/div/div[2]//div[3]/div/span')

    #  Organization的Immediate Member tab页面字段Account Email
    organization_account_email = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[1]')
    #  Organization的Immediate Member tab页面字段Status
    organization_status = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[2]')
    #  Organization的Immediate Member tab页面字段User Name
    organization_user_name = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[3]')
    #  Organization的Immediate Member tab页面字段Phone Number
    organization_phone_number = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[4]')
    #  Organization的Immediate Member tab页面字段Creation Time (UTC+08:00)
    organization_creation_time = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[5]')
    #  Organization的Immediate Member tab页面字段Actions
    organization_actions = (By.XPATH, '//*[@class="antd4-table-content"]/table/thead/tr/th[6]')

    #  Organization的Invited Customer tab页面字段Account Email
    organization_invited_tab_account_email = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[1]')
    #  Organization的Invited Customer tab页面字段Status
    organization_invited_tab_status = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[3]')
    #  Organization的Invited Customer tab页面字段User Name
    organization_invited_tab_user_name = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[2]')
    #  Organization的Invited Customer tab页面字段 Customer Type
    organization_invited_tab_customer_type = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[4]')
    #  Organization的Invited Customer tab页面字段Payment Mode
    organization_invited_tab_payment_mode = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[5]')
    #  Organization的Invited Customer tab页面字段Inviter
    organization_invited_tab_inviter = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[6]')
    #  Organization的Invited Customer tab页面字段 Invite Time (UTC+08:00)
    organization_invited_tab_invite_time = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[7]/div/span[1]')
    #  Organization的Invited Customer tab页面字段Active Time (UTC+08:00)
    organization_invited_tab_active_time = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[8]/div/span[1]')
    #  Organization的Invited Customer tab页面字段Consumption of This Month
    organization_invited_tab_consumption_mon = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[9]/div/span[1]/div')
    #  Organization的Invited Customer tab页面字段 Consumption of This Year
    organization_invited_tab_consumption_year = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[10]/div/span[1]/div')
    #  Organization的Invited Customer tab页面字段Consumption of Subtotal
    organization_invited_tab_consumption_subtotal = (By.XPATH, '//*[@class="antd4-tabs-tabpane antd4-tabs-tabpane-active"]/div/div/div[3]//table/thead/tr/th[11]/div/span[1]/div')

    #  Business Partner->Organization页面组织列表搜索输入框
    organization_list_search_input = (By.XPATH, '(//*[@class="leftContent___2Uxru"])/div/span/span/input')
    #  Business Partner->Organization页面组织列表搜索按钮
    organization_list_search_btn = (By.XPATH, '(//*[@class="leftContent___2Uxru"])/div/span/span/span/button')
    #  Business Partner->Organization页面组织列表搜索register有效关键字的结果数据register07
    organization_list_search_result_data = (By.CSS_SELECTOR, '[class="antd4-tree-title"]')
    #  Business Partner->Organization页面组织列表搜索register00无效关键字的无结果数据No Data
    organization_list_search_no_result_data = (By.XPATH, '(//*[@class="sider___310Oo"])/div/div/div/div[2]')

    #  Business Partner->Organization页面成员信息搜索输入框
    organization_search_input = (By.CSS_SELECTOR, '[id="creForm_searchVal"]')
    #  Business Partner->Organization页面成员信息搜索按钮
    organization_search_btn = (By.XPATH, '(//*[@class="antd4-input-group-addon"])[2]/button')
    #  Business Partner->Organization页面成员信息搜索s3bp1有效关键字的结果数据s3bp1@qq.com
    organization_search_result_data = (By.XPATH, '(//*[@class="antd4-table-tbody"])[1]/tr[2]/td/div/button/span')
    #  Business Partner->Organization页面成员信息搜索s3bp100无效关键字的无结果数据No Data
    organization_search_no_result_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    # Organization页面成员信息筛选功能Status检索按钮
    organization_status_filter_btn = (By.CSS_SELECTOR, '[class="anticon anticon-filter"]')
    # Organization页面成员信息筛选功能Status检索弹框
    organization_status_filter_box = (By.CSS_SELECTOR, '[class="antd4-table-filter-dropdown"]')
    # Organization页面成员信息筛选功能Status检索弹框的reset按钮
    organization_status_filter_reset_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])/button[1]')
    # Organization页面成员信息筛选功能Status检索弹框的ok按钮
    organization_status_filter_ok_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])/button[2]')
    # Organization页面成员信息筛选检索结果数据
    organization_status_filter_data = (By.CSS_SELECTOR, '[class="antd4-table-tbody"]')
    # Organization页面成员信息筛选检索结果的status状态Normal信息
    organization_status_filter_information = (By.CSS_SELECTOR, '[class="antd4-badge-status-text"]')
    # Organization页面成员重置用户密码按钮
    organization_reset_pwd_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-link table-operation-btnLine-btn"]')
    # Organization页面成员重置用户密码提示弹框
    organization_reset_pwd_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    # Organization页面成员重置用户密码提示弹框提示语1  User must agree with you to help reset password.
    organization_reset_pwd_box_tips1 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[1]')
    # Organization页面成员重置用户密码提示弹框提示语2  New password will be sent to user via selected channel(s).
    organization_reset_pwd_box_tips2 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[2]')
    # Organization页面成员重置用户密码提示弹框的I acknowledge 提示语
    organization_reset_pwd_acknowledge_tips = (By.XPATH, '//label[@class="antd4-checkbox-wrapper"]/span[2]/span')
    # Organization页面成员重置用户密码提示弹框的I acknowledge 提示勾选按钮
    organization_reset_pwd_acknowledge_btn = (By.XPATH, '//div[@class="antd4-modal-body"]/div/div/div[2]/div/label/span[1]/input')
    # Organization页面成员重置用户密码提示弹框Cancel按钮
    organization_reset_pwd_cancel_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[1]')
    # Organization页面成员重置用户密码提示弹框的OK按钮
    organization_reset_pwd_ok_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[2]')
    # Organization页面成员重置用户密码成功的提示语 Reset password successfully.
    organization_reset_pwd_succcess_tips = (By.XPATH, '//div[@class="antd4-message-notice-content"]/div/span[2]')

    # status_list
    status_list = (By.XPATH, '//div[@class="antd4-table-filter-dropdown"]/ul/li/span/span')

    #  Organization页面成员信息页菜单按钮
    organization_member_info_menu_btn = (By.XPATH, '(//*[@class="table-operation"])[1]/div[3]/span')
    #  Organization页面成员信息页菜单lock按钮
    organization_member_lock_btn = (By.XPATH, '(//*[@class="antd4-dropdown-menu-title-content"])[1]')
    #  Organization页面成员信息页菜单unlock按钮
    organization_member_unlock_btn = (By.XPATH, '(//*[@class="antd4-dropdown-menu-title-content"])[2]')
    #  Organization页面成员信息页lock提示弹框
    organization_member_lock_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    #  Organization页面成员信息页lock提示弹框的提示语1 The user was confirmed to be unsecure on system.
    organization_member_lock_box_tips1 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[1]')
    #  Organization页面成员信息页lock提示弹框的提示语2  After locking account, user can not access system from next login try.
    organization_member_lock_box_tips2 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[2]')
    #  Organization页面成员信息页lock提示弹框的I acknowledge勾选按钮框
    organization_member_lock_acknowledge_btn = (By.CSS_SELECTOR, '[class="antd4-checkbox-input"]')
    #  Organization页面成员信息页lock提示弹框的cancel按钮
    organization_member_lock_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Organization页面成员信息页lock提示弹框的ok按钮
    organization_member_lock_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary"]')
    #  Organization页面成员信息页成员锁定成功提示语 Locked successfully.
    organization_member_lock_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    #  Organization页面成员信息页unlock提示弹框
    organization_member_unlock_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    #  Organization页面成员信息页unlock提示弹框的提示语1 The user was confirmed to be secure on system.
    organization_member_unlock_box_tips1 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[1]')
    #  Organization页面成员信息页unlock提示弹框的提示语2  After unlocking account, user can access system from next login try.
    organization_member_unlock_box_tips2 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[2]')
    #  Organization页面成员信息页unlock提示弹框的I acknowledge勾选按钮框
    organization_member_unlock_acknowledge_btn = (By.CSS_SELECTOR, '[class="antd4-checkbox-input"]')
    #  Organization页面成员信息页unlock提示弹框的cancel按钮
    organization_member_unlock_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Organization页面成员信息页unlock提示弹框的ok按钮
    organization_member_unlock_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary"]')
    #  Organization页面成员信息页成员解锁成功提示语 Unlocked successfully.
    organization_member_unlock_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    # Organization页面Action按钮
    organization_action_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default antd4-dropdown-trigger"]')
    # Organization页面Action菜单edit按钮
    organization_action_edit_btn = (
    By.XPATH, '(//*[@class="antd4-dropdown antd4-dropdown-placement-bottomLeft "])/ul/li[1]/span')
    # Organization 成员信息编辑页面标题 Basic Information
    organization_action_edit_basic_info_itle = (By.XPATH, '(//*[@class="edit-org-basic-title"])[1]')
    # Organization 成员信息编辑页面标题 Business Information
    organization_action_edit_business_info_title = (By.XPATH, '(//*[@class="edit-org-basic-title"])[2]')
    # Organization 成员信息编辑页面Company Name:可编辑栏
    organization_action_edit_company_name_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[1]')
    # Organization 成员信息编辑页面VAT number:可编辑栏
    organization_action_edit_vat_num_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[2]')
    # Organization 成员信息编辑页面Phone Number可编辑栏
    organization_action_edit_phone_num_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[3]')
    # Organization 成员信息编辑页面Post Code:可编辑栏
    organization_action_edit_post_code_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[4]')
    # Organization 成员信息编辑页面State/Province:可编辑栏
    organization_action_edit_state_province_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[5]')
    # Organization 成员信息编辑页面City:可编辑栏
    organization_action_edit_city_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[6]')
    # Organization 成员信息编辑页面Address:可编辑栏
    organization_action_edit_address_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[7]')
    # Organization 成员信息编辑页面Cashback Level可编辑栏
    organization_action_edit_cashback_level_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[8]')
    # Organization 成员信息编辑页面Broker Level可编辑栏
    organization_action_edit_broker_level_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[9]')
    # Organization 成员信息编辑页面Product Name:可编辑栏
    organization_action_edit_product_name_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[10]')
    # Organization 成员信息编辑页面CashBack Ratio可编辑栏
    organization_action_edit_cashback_ratio_title = (By.XPATH, '(//*[@class="antd4-form-item-required"])[11]')
    #  Organization成员信息编辑页面的cancel按钮
    organization_action_edit_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Organization成员信息编辑页面的ok按钮
    organization_action_edit_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary orgDrawerButtonOk___1bpjm"]')
    #  Organization页面成员信息编辑成功提示语 Edited successfully.
    organization_action_edit_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    #  Business Partner->User页面的Account Email字段
    business_user_account_email_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  Business Partner->User页面的Status字段
    business_user_status_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]/div/span[1]')
    #  Business Partner->User页面的User Name字段
    business_user_user_name_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[3]')
    #  Business Partner->User页面的Phone Number字段
    business_user_phone_number_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[4]')
    #  Business Partner->User页面的User Group字段
    business_user_user_group_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[5]')
    #  Business Partner->User页面的Organization字段
    business_user_organization_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[6]')
    #  Business Partner->User页面的Creation Time (UTC+08:00)字段
    business_user_creation_time_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[7]')
    #  Business Partner->User页面的Actions字段
    business_user_actions_title = (By.XPATH, '(//*[@class="antd4-table-thead"])/tr/th[8]')

    #  Business Partner->User页面的搜索输入框
    business_user_search_input_box = (By.CSS_SELECTOR, '[id="fuzzy"]')
    #  Business Partner->User页面的搜索按钮
    business_user_search_btn = (By.CSS_SELECTOR, '[class="anticon anticon-search"]')
    #  Business Partner->User页面的搜索结果用户邮箱信息 test.register07New1@gmail.com
    business_user_search_account_email = (By.XPATH, '(//*[@class="config-theme-system-user-primary-font email___3vX7e"])/button/span')
    #  Business Partner->User页面的搜索结果用户手机号码 (62)19123850406778
    business_user_search_phone_num = (By.XPATH, '(//*[@class="antd4-table-tbody"])/tr[2]/td[4]/span')
    #  Business Partner->User页面的搜索无效字符无数据结果 No Data
    business_user_search_no_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    # Business Partner->User页面成员信息筛选功能Status检索按钮
    business_user_status_filter_btn = (By.CSS_SELECTOR, '[class="anticon anticon-filter"]')
    # Business Partner->User页面成员信息筛选功能Status检索弹框
    business_user_status_filter_box = (By.CSS_SELECTOR, '[class="antd4-table-filter-dropdown"]')
    # Business Partner->User页面成员信息筛选功能Status检索弹框的reset按钮
    business_user_status_filter_reset_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])[1]/button[1]')
    # Business Partner->User页面成员信息筛选功能Status检索弹框的ok按钮
    business_user_status_filter_ok_btn = (By.XPATH, '(//*[@class="antd4-table-filter-dropdown-btns"])[1]/button[2]')
    # Business Partner->User页面成员信息筛选检索结果数据
    business_user_status_filter_data = (By.CSS_SELECTOR, '[class="antd4-table-tbody"]')
    # Business Partner->User页面成员信息筛选检索结果的status状态Normal\Inactive信息
    business_user_status_filter_information = (By.CSS_SELECTOR, '[class="antd4-badge-status-text"]')

    # Business Partner->User页面成员重置用户密码按钮
    business_user_reset_pwd_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-link table-operation-btnLine-btn"]')
    # Business Partner->User页面成员重置用户密码提示弹框
    business_user_reset_pwd_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    # Business Partner->User页面成员重置用户密码提示弹框提示语1  User must agree with you to help reset password.
    business_user_reset_pwd_box_tips1 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[1]')
    # Business Partner->User页面成员重置用户密码提示弹框提示语2  New password will be sent to user via selected channel(s).
    business_user_reset_pwd_box_tips2 = (By.XPATH, '//div[@class="antd4-alert-content"]/div/div[2]')
    # Business Partner->User页面成员重置用户密码提示弹框的I acknowledge 提示语
    business_user_reset_pwd_acknowledge_tips = (By.XPATH, '//label[@class="antd4-checkbox-wrapper"]/span[2]/span')
    # Business Partner->User页面成员重置用户密码提示弹框的I acknowledge 提示勾选按钮
    business_user_reset_pwd_acknowledge_btn = (By.XPATH, '//div[@class="antd4-modal-body"]/div/div/div[2]/div/label/span[1]/input')
    # Business Partner->User页面成员重置用户密码提示弹框Cancel按钮
    business_user_reset_pwd_cancel_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[1]')
    # Business Partner->User页面成员重置用户密码提示弹框的OK按钮
    business_user_reset_pwd_ok_btn = (By.XPATH, '//div[@class="antd4-modal-footer"]/button[2]')
    # Business Partner->User页面成员重置用户密码成功的提示语 Reset password successfully.
    business_user_reset_pwd_succcess_tips = (By.XPATH, '//div[@class="antd4-message-notice-content"]/div/span[2]')

    #  Business Partner->User页面成员信息页菜单按钮
    business_user_member_info_menu_btn = (By.XPATH, '(//*[@class="table-operation"])[2]/div[3]/span')
    #  Business Partner->User页面成员信息页状态数据
    business_user_member_status_info = (By.XPATH, '(//*[@class="antd4-table-tbody"])/tr[3]/td[2]/div/span/span[2]')
    #  Business Partner->User页面成员信息页菜单lock按钮
    business_user_member_lock_btn = (By.XPATH, '(//*[@class="antd4-dropdown-menu-title-content"])[1]')
    #  Business Partner->User页面成员信息页菜单unlock按钮
    business_user_member_unlock_btn = (By.XPATH, '(//*[@class="antd4-dropdown-menu-title-content"])[2]')
    #  Business Partner->User页面成员信息页lock提示弹框
    business_user_member_lock_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    #  Business Partner->User页面成员信息页lock提示弹框的提示语1 The user was confirmed to be unsecure on system.
    business_user_member_lock_box_tips1 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[1]')
    #  Business Partner->User页面成员信息页lock提示弹框的提示语2  After locking account, user can not access system from next login try.
    business_user_member_lock_box_tips2 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[2]')
    #  Business Partner->User页面成员信息页lock提示弹框的I acknowledge勾选按钮框
    business_user_member_lock_acknowledge_btn = (By.CSS_SELECTOR, '[class="antd4-checkbox-input"]')
    #  Business Partner->User页面成员信息页lock提示弹框的cancel按钮
    business_user_member_lock_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Business Partner->User页面成员信息页lock提示弹框的ok按钮
    business_user_member_lock_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary"]')
    #  Business Partner->User页面成员信息页成员锁定成功提示语 Locked successfully.
    business_user_member_lock_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    #  Business Partner->User页面成员信息页unlock提示弹框
    business_user_member_unlock_box = (By.CSS_SELECTOR, '[class="antd4-modal-content"]')
    #  Business Partner->User页面成员信息页unlock提示弹框的提示语1 The user was confirmed to be secure on system.
    business_user_member_unlock_box_tips1 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[1]')
    #  Business Partner->User页面成员信息页unlock提示弹框的提示语2  After unlocking account, user can access system from next login try.
    business_user_member_unlock_box_tips2 = (By.XPATH, '(//*[@class="main___1Mt3G"])/div/div/div[2]')
    #  Business Partner->User页面成员信息页unlock提示弹框的I acknowledge勾选按钮框
    business_user_member_unlock_acknowledge_btn = (By.CSS_SELECTOR, '[class="antd4-checkbox-input"]')
    #  Business Partner->User页面成员信息页unlock提示弹框的cancel按钮
    business_user_member_unlock_cancel_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-default"]')
    #  Business Partner->User页面成员信息页unlock提示弹框的ok按钮
    business_user_member_unlock_ok_btn = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-primary"]')
    #  Business Partner->User页面成员信息页成员解锁成功提示语 Unlocked successfully.
    business_user_member_unlock_success_tips = (By.XPATH, '(//*[@class="antd4-message-notice-content"])/div/span[2]')

    #  Business Partner->User页面的用户邮箱信息栏
    business_user_account_email = (By.CSS_SELECTOR, '[class="config-theme-system-user-primary-font email___3vX7e"]')
    #  Business Partner->User的用户具体信息页面
    business_user_member_specific_info_page = (By.CSS_SELECTOR, '[class="cre-page-container-spin"]')
    #  Business Partner->User的用户具体信息的overview tab
    business_user_member_info_overview_tab = (By.XPATH, '(//*[@class="antd4-tabs-tab-btn"])[1]')
    #  Business Partner->User的用户具体信息的User Group tab
    business_user_member_info_user_group_tab = (By.XPATH, '(//*[@class="antd4-tabs-tab-btn"])[2]')
    #  Business Partner->User的用户具体信息的Audit tab
    business_user_member_info_audit_tab = (By.XPATH, '(//*[@class="antd4-tabs-tab-btn"])[3]')
    #  Business Partner->User的用户具体信息的overview tab的基本信息页Basic Information标题
    business_user_member_basic_info_overview_title = (By.CSS_SELECTOR, '[class="antd4-descriptions-title"]')
    #  Business Partner->User的用户具体信息的User Group tab的基本信息页User Group字段
    business_user_member_info_user_group_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  Business Partner->User的用户具体信息的User Group tab的基本信息页Members字段
    business_user_member_info_members_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]')
    #  Business Partner->User的用户具体信息的Audit tab的基本信息页Account Email字段
    business_user_member_info_audit_account_email_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  Business Partner->User的用户具体信息的Audit tab的基本信息页Event Type字段
    business_user_member_info_audit_event_type_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]/div/span[1]')
    #  Business Partner->User的用户具体信息的Audit tab的基本信息页Remarks字段
    business_user_member_info_audit_remarks_field = (By.XPATH, '(//*[@class="antd4-table-cell"])[5]')

    #  Business Partner->Role页面的Role Name字段
    business_role_role_name_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[1]')
    #  Business Partner->Role页面的Customer字段
    business_role_customer_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[2]')
    #  Business Partner->Role页面的Role Type字段
    business_role_role_type_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[3]')
    #  Business Partner->Role页面的Creation Time (UTC+08:00)字段
    business_role_creation_time_title = (By.XPATH, '(//*[@class="antd4-table-cell"])[4]')
    #  Business Partner->Role页面的Actions字段
    business_role_actions_title = (By.XPATH, '(//*[@class="antd4-table-thead"])/tr/th[5]')

    #  Business Partner->Role页面的搜索输入框
    business_role_search_input_box = (By.CSS_SELECTOR, '[class="antd4-input"]')
    #  Business Partner->Role页面的搜索按钮
    business_role_search_btn = (By.CSS_SELECTOR, '[class="anticon anticon-search"]')
    #  Business Partner->Role页面的搜索结果用户Role Name Default Enterprise Role
    business_role_search_role_name = (By.XPATH, '//*[@class="antd4-btn antd4-btn-link"]/span')
    #  Business Partner->Role页面的搜索结果用户customer dand
    business_role_search_customer = (By.XPATH, '(//*[@class="antd4-table-tbody"])/tr[2]/td[2]/div')
    #  Business Partner->Role页面的搜索无效字符无数据结果 No Data
    business_role_search_no_data = (By.CSS_SELECTOR, '[class="antd4-empty-description"]')

    #  Business Partner->Role页面的用户Role Name栏
    business_role_role_name = (By.CSS_SELECTOR, '[class="antd4-btn antd4-btn-link"]')
    #  Business Partner->Role的用户具体信息页面
    business_role_member_specific_info_page = (By.CSS_SELECTOR, '[class="cre-page-container-default-content"]')
    #  Business Partner->Role的用户具体信息的overview tab
    business_role_member_info_overview_tab = (By.CSS_SELECTOR, '[id="rc-tabs-5-tab-1"]')
    #  Business Partner->Role的用户具体信息的Role Permissions tab
    business_role_member_info_role_permissions_tab = (By.XPATH, '//*[@class="antd4-tabs-nav-list"]/div[2]/div')
    #  Business Partner->Role的用户具体信息的overview tab的基本信息页overview标题
    business_role_member_overview_title = (By.XPATH, '//*[@class="OverView___8Bdbb"]/div[1]/div[1]')
    #  Business Partner->Role的用户具体信息的overview tab的基本信息页Role Type:字段
    business_role_member_overview_role_type_field = (By.XPATH, '//*[@class="antd4-descriptions-row"]/td[1]/div/span/div/div')
    #  Business Partner->Role的用户具体信息的overview tab的基本信息页Creation Time (UTC+08:00):字段
    business_role_member_overview_creation_time_field = (By.XPATH, '//*[@class="antd4-descriptions-row"]/td[2]/div/span/div/div')
    #  Business Partner->Role的用户具体信息的overview tab的基本信息页Role Allocation标题
    business_role_member_role_allocation_overview_title = (By.XPATH, '//*[@class="OverView___8Bdbb"]/div[2]/div[1]')
    #  Business Partner->Role的用户具体信息的Role Permissions tab的基本信息页Role Permissions标题
    business_role_member_info_role_permissions_title = (By.CSS_SELECTOR, '[class="title___3L7NJ"]')

    #  Business Partner->Role页面Role Allocation的Account Email字段
    business_role_account_email_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[1]')
    #  Business Partner->Role页面Role Allocation的User Name字段
    business_role_user_name_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[2]')
    #  Business Partner->Role页面Role Allocation的Phone Number字段
    business_role_phone_num_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[3]')
    #  Business Partner->Role页面Role Allocation的Creation Time (UTC+08:00)字段
    business_role_creation_time_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[4]')
    #  Business Partner->Role页面Role Allocation的Actions字段
    business_role_actions_field = (By.XPATH, '(//*[@class="ant-table-column-title"])[5]')

    #  Business Partner->User Group页面组织列表搜索输入框
    business_user_group_list_search_input = (By.CSS_SELECTOR, '[id="userGroupName"]')
    #  Business Partner->User Group页面组织列表搜索按钮
    business_user_group_list_search_btn = (By.XPATH, '(//*[@class="pageLayoutBodyLeft___3Bt3f"])/div/div/form/span/span/span/button')
    #  Business Partner->User Group页面组织列表搜索eee有效关键字的结果数据eee
    business_user_group_list_search_result_data = (By.XPATH, '(//*[@class="list___3afCv"])/span')
    #  Business Partner->User Group页面组织列表搜索eee00无效关键字的无结果数据No Data
    business_user_group_list_search_no_result_data = (By.XPATH, '(//*[@class="infinite-scroll-component "])/div/div/div/div/div/div[2]')


















